package com.example.demo2.service;

import com.example.demo2.pojo.PageBean;
import com.example.demo2.utils.Result;
import com.example.demo2.pojo.vo.AddressVO;

/** 
 * <br/>
 * Created by weidong on 2020/05/12
 */
public interface AddressService {

	Result add(AddressVO addressVO) throws Exception;

	Result updateById(AddressVO addressVO) throws Exception;
	
	Result findById(Integer id) throws Exception;
	
	Result list(AddressVO addressVO) throws Exception;

    PageBean listPage(AddressVO addressVO) throws Exception;
	
	Result count(AddressVO addressVO) throws Exception;
	
	Result deleteById(Integer id) throws Exception;
}